package com.xsz.repository;

import com.xsz.entity.Possition;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

//JpaRepository<User,String>  第一个参数是实体类，第二个参数是实体类的主键数据类型
public interface PossitionRepository extends JpaRepository<Possition,String> {
    public Page<Possition> findByCreateBy(Pageable pageable, String id);
}
